<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Preventing vandalism',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<section id="dreams">
	<h2>Dream journal</h2>
	<p>
		I dreamed I worked at some sort of store/office hybrid.
		I think the office-like part was a credit union, but in any case, we had desks about the place and a pharmacy in the back.
		A suspicious person came while I was working the register.
		They had a prescription, but didn&apos;t even know how much it was for, and the register which normally showed the names of prescription holders was showing a generic phrase instead of a name.
		They were acting shady, but what could I do?
		I rung them up, and they started trying to get behind our counter.
		At first I tried to stop them, but then I saw our pharmacy was back there.
		They had to go behind the counter to pick up what they&apos;d bought.
		The pharmacy looked closed though.
		It didn&apos;t matter anyway.
		They person didn&apos;t head to the pharmacy, but instead started reaching for desk drawers.
		They were looking for money, probably to fuel a drug addiction.
		I quickly ran over to stop them, and they meandered over to a desk on the other side of the room and started trying to open that.
		By this time, I was following them to stop them from getting into things.
	</p>
	<p>
		At some point, I started trying to get physical with them, forcefully removing them from the premises.
		They reminded me of some law though; I couldn&apos;t touch them, it&apos;d be assault, even though I had to to protect our assets.
		My hands were tied.
		All I could do was follow them and prevent theft as it almost occurred, I couldn&apos;t proactively do anything to put a stop to the situation.
		Eventually, I got a lucky break.
		They wanted to go to the restroom.
		I nearly stopped them; our restrooms weren&apos;t for thieves!
		But then I realised just how lucky this break was.
		I let them go as if nothing was going on, then once they were in, I grabbed the door handle and held the door shut.
		They were confined, and I hadn&apos;t even needed to touch them to make that happen.
	</p>
	<p>
		At some point, I somehow ended up in the restroom that was their prison.
		Except ... it wasn&apos;t a restroom any more.
		It was more like an open street of a neighbourhood, but with a weird door that led back to my workplace which this neighbourhood was somehow inside.
		I had a few coworkers in there with us, but they were not of any help.
		Not that any help was needed.
		All I needed to do was guard the door from a weak, drug-addled thief.
		They tried to seduce me.
		I thought to myself that there was no way I&apos;d want their drug-filled body; ew.
		At some point, I wasn&apos;t paying attention and they nearly escaped, but I grabbed their coat, slowing them down.
		They slipped out of it, but it was too late.
		I had their arm in my hand before they could regain their speed.
		I guess the assault law somehow didn&apos;t apply now that they were my prisoner, but how did I expect to maintain this situation?
		Why weren&apos;t the police called so I could be rid of this thief?
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		I continued the discussion:
	</p>
	<blockquote>
		<p>
			The sole function of a patent is to grant a monopoly.
			Putting laws in place to prevent people from using patents to create monopolies, therefore, makes little sense.
			Rather than <strong>*add*</strong> patent-related laws, I think what we need to do is <strong>*remove*</strong> patent-related laws.
			Specifically, I don&apos;t think patents should be a thing.
			Ideas are not property; they cannot be owned.
			We shouldn&apos;t have laws that act as if they can.
			Patents should not exist.
		</p>
	</blockquote>
	<p>
		Then I made my post for the day:
	</p>
	<blockquote>
		<p>
			It&apos;s not just in the field of occupational therapy that reflection helps.
			I keep a daily journal, partly as an emotional outlet and partly to help me work through my problems.
			I frequently find that if I&apos;ve been mulling over a problem all day, it&apos;s still only once I start writing for the day that I actually come up with a solution.
			Through my writing, I reflect and crystallise my thoughts.
			I also find that I learn better in the university courses with open-ended learning journal assignments.
			When I&apos;m able to use the learning journal as an actual journal that documents my learning, I&apos;m able to reflect more and better process what we&apos;ve been studying.
		</p>
	</blockquote>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/y.st./source/y.st./static/img/CC_BY-SA_3.0/minetest.net./weblog/2018/03/10.png" alt="The towers connected by the bridge" class="framed-centred-image" width="800" height="600"/>
	<p>
		I continued trying to figure out how to defend my wooden tower from lava-based assault.
		I realised after a while though that the vandals were already winning.
		They hadn&apos;t even been allowed to enter my world, yet they were beating me.
		Their goal is to cause other players grief, and here I was, planning ways to mutilate my tower just right as to make sure it couldn&apos;t be completely destroyed by them.
		That was when I realised I had to find the answer not in the structure of my building, but in the code of the game.
		If we can&apos;t feel comfortable building out of wood, what&apos;s the point of even <strong>*having*</strong> wood?
		We can&apos;t be stuck limiting ourselves to non-flammable materials just to avoid game trolls.
		I&apos;ve now built a mod.
		A very simple mod.
		Fire doesn&apos;t normally check to see if something is protected before destroying it, but with this mod, all igniters are turned into harmless cobble if they attempt to light protected nodes on fire.
		Initially, I planned to simply remove said igniters from the map, but lava throws a wrench into that plan.
		The lava will keep flowing in, disappearing, and flowing in some more.
		However, if the offending lava is converted into harmless, fire-resistant cobble, it&apos;ll block more lava from taking its place.
		Cobble was chosen because it&apos;s not only not flammable, but it&apos;s also the most worthless node one can acquire.
		I don&apos;t have to worry about people abusing the anti-vandal mechanic to try to farm some even slightly valuable node.
		Because I ended up having to convert igniters instead of removing them, some clean-up will need to be performed after a vandal attack, but it&apos;ll be much less frustrating than having entire structures disappear in minutes that took hours to build.
	</p>
	<p>
		Well, I guess it&apos;s back to tree farming.
		I need snow to complete the tower in its unmutilated design, and I also need aspens and acacias to build out a walkway over the water for other players to build off of if they choose.
	</p>
</section>
END
);
